package com.cindata

import com.cindata.dictionary.BuildingTypeDict

class FeesDetail
{
    Fees fees
    // 所属收费项
    BuildingTypeDict buildingType
    // 建筑类型(操作对象类型)
    BigDecimal unitPrice
    // 单价

    Date createdDate = new Date()
    Date modifiedDate = new Date()
    User createBy
    User modifyBy

    FeesDetail()
    {
    }

    static belongsTo = [fees: Fees]

    static mapping = {
        autowire true
    }

    static constraints = {
        fees nullable: true, blank: true, comment: '所属收费项'
        unitPrice precision: 15, scale: 2, nullable: true, blank: true, comment: '单价'
        buildingType nullable: true, blank: true, comment: '建筑类型(操作对象类型)'
        createBy nullable: true, blank: true, comment: '创建者'
        modifyBy nullable: true, blank: true, comment: '修改者'
        createdDate nullable: true, blank: true, comment: '创建时间'
        modifiedDate nullable: true, blank: true, comment: '修改时间'
    }

}
